<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>

<%@ page import="javax.portlet.*"%>
<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>

<portlet:defineObjects />
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    
<%
	PortletURL urlProject = renderResponse.createRenderURL();
	urlProject.setParameter("project", "renderProject");
	PortletURL urlCourse = renderResponse.createRenderURL();
	urlCourse.setParameter("course", "renderCourse");
	PortletURL urlEmployee = renderResponse.createRenderURL();
	urlEmployee.setParameter("employee", "renderEmployee");
%>

<link type="text/css" rel="stylesheet" media="all" href="<%= response.encodeURL(request.getContextPath() + "/css/style.css") %>" />
<script type="text/javascript" src="<%= response.encodeURL(request.getContextPath() + "/jquery/jquery-1.3.2.js") %>"></script>
<script type="text/javascript">
<!--//--><![CDATA[//><!--
	$(document).ready(function() {
		$("#root ul").each(function() {$(this).css("display", "none");});
		$("#root .category").click(function() {
			var childid = "#" + $(this).attr("childid");
			if ($(childid).css("display") == "none") {$(childid).css("display", "block");}
			else {$(childid).css("display", "none");}
			if ($(this).hasClass("cat_close")) {$(this).removeClass("cat_close").addClass("cat_open");}
			else{$(this).removeClass("cat_open").addClass("cat_close");}
		});
	});
//--><!]]>
</script>

<h2>Menu list</h2>
<form method="post" action="">
	<p>&nbsp;<input type="text" name="T1" size="14"><input type="submit" value="Search" name="B1"></p>
</form>
<div class="content">
	<ul id="root" class="menu">
    	<li>
        	<a href='javascript:void(0);' childid = 'c_12' class='cat_close category'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>
        	<a href='javascript:void(0);'>Catalogs</a>
        </li>
        <ul id='c_12'>
        	<li>
            	<a href='javascript:void(0);' class='product'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>
            	<a href="EditCourseInfo.html">Course</a> 
            </li>
        	<li>
            	<a href='javascript:void(0);' class='product'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>           	
            	<a href="<%= urlProject.toString() %>">Project</a>
            </li>        
        </ul>
        <li>
        	<a href='javascript:void(0);' childid = 'c_13' class='cat_close category'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>
        	<a href='javascript:void(0);'>People Information</a>
        </li>
        <ul id='c_13'>
        	<li>
            	<a href='javascript:void(0);' class='product'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>
            	<a href="<%= urlEmployee.toString() %>">Employee</a>
            </li>
       	</ul>
        <li>
        	<a href='javascript:void(0);' childid = 'c_8' class='cat_close category'>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>
            <a href="SearchInfo.html">Search</a>
        </li>
        <ul id='c_8'>

        </ul>
    </ul>
</div>
